package com.ls.hnks.service;

import com.ls.hnks.util.Result;
import com.ls.hnks.model.Training;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 15375
* @description 针对表【tb_training(用户培训)】的数据库操作Service
* @createDate 2023-01-25 21:58:27
*/
public interface TrainingService extends IService<Training> {

    Result getTrainingByPage(Integer page, Integer size);

    Result getDetails(String id);

    Result finishTrain(String userId,String trainId);

    Result countTrain(String userId);

    void saveTrain(Training training);
}
